package com.example.abstractfactory8.factory;

import com.example.abstractfactory8.Bike;
import com.example.abstractfactory8.Milk;
import com.example.abstractfactory8.Orange;

/**
 * @version 1.0.0
 * @className: LowPersonFactory
 * @description:
 * @author: zhangjunfa
 * @date: 2022/6/10 14:51
 */
public class LowPersonFactory implements AbstractFactory {
    /**
     * 获取具体产品 - 自行车
     *
     * @return
     */
    @Override
    public Car getCar() {
        return new Bike();
    }

    /**
     * 获取具体产品 - 橘子
     *
     * @return
     */
    @Override
    public BreakFast getBreakFast() {
        return new Orange();
    }
}
